WordfenceLS\Controller_Settings D

Total Complexity 135
Dependencies 10
Dependents 12
Total lines 540
Lines of code 372
Logical lines of code 238
Comment lines 78
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
validate()
D
36 37 65
clean()
B
46 22 37
_migrate_admin_2fa_requirements_to_roles()
S
54 6 20
preprocess()
S
56 6 18
_truthy_to_bool()
S
59 6 15
_parse_local_time()
S
50 5 27
is_ntp_enabled()
S
59 5 14
is_ntp_cron_disabled()
S
62 4 13
validate_multiple()
S
61 4 13
set_multiple()
S
65 3 9
preprocess_multiple()
S
65 3 9
get_array()
S
64 3 10
_sanitize_ip_range()
S
61 2 12
set_defaults()
S
53 1 22
is_ntp_disabled_via_constant()
S
79 2 3
__construct()
S
70 2 7
shared()
S
69 2 7
get_required_2fa_role_activation_time()
S
70 2 6
clean_multiple()
S
68 2 7
increment_ntp_failure_count()
S
67 2 8
reset_ntp_failure_count()
S
80 1 3
disable_ntp_cron()
S
79 1 3
are_login_history_columns_enabled()
S
79 1 3
get_user_2fa_grace_period()
S
80 1 3
get_ntp_failure_count()
S
79 1 3
trusted_proxies()
S
77 1 3
whitelisted_ips()
S
77 1 3
get_required_2fa_role_key()
S
79 1 3
remove()
S
81 1 3
get_float()
S
79 1 3
get_int()
S
79 1 3
get_bool()
S
79 1 3
get()
S
79 1 3
set_array()
S
78 1 3
set()
S
78 1 3
reset_ntp_disabled_flag()
S
74 1 5